/*
 * Class.cpp
 *
 *  Created on: 21/nov/2010
 *      Author: computer
 */

#include "Class.h"

namespace TreeExpression {

Class::Class(const std::string& name) : Expression_CRTP<Class>(), ClassStruct(name) { }

Class::Class(const Class& copy) : Expression(copy), FlowExpression(copy), Expression_CRTP<Class>(copy), ClassStruct(copy) { }

Class::~Class() {}

AutoPointer<Expression> Class::eval(CopyPointer<Context>& context) {
	return this->call("__init__", PUBLIC, context);//TODO access;
}

}
